//
//  audioViewController.h
//  fugitiveVertical
//
//  Created by Eugene Bistolas on 5/12/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <CoreAudio/CoreAudioTypes.h>
#import <AudioToolbox/AudioToolbox.h>


@interface audioViewController : UIViewController<AVAudioRecorderDelegate> {
    IBOutlet UIButton *playButton;
    IBOutlet UIButton *recButton;
    IBOutlet UILabel *recordingLabel;
    IBOutlet UIButton *stopButton;
    
    BOOL isRecording;
    
    NSURL *tempRecFile;
    AVAudioRecorder *recorder;
}

@property (nonatomic, retain) IBOutlet UIButton *playButton;
@property (nonatomic, retain) IBOutlet UIButton *recButton;
@property (nonatomic, retain) IBOutlet UIButton *stopButton;

- (IBAction) recording;
- (IBAction) playback;


@end
